package org.dtrd.modules.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.food.entity.bean.FoodMatchingCategoryDetail;
import org.dtrd.modules.food.entity.bean.FoodMatchingCategoryListInfo;
import org.dtrd.modules.food.entity.po.DtrdExtEmsYwFoodMatchingCategory;
import org.dtrd.modules.food.entity.request.FoodMatchingCategoryListRequest;

import java.util.List;

/**
 * <p>
 * 配餐分类服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-09
 */
public interface IDtrdExtEmsYwFoodMatchingCategoryService extends IService<DtrdExtEmsYwFoodMatchingCategory> {

    List<FoodMatchingCategoryListInfo> getFoodMatchingCategoryList(FoodMatchingCategoryListRequest request);

    FoodMatchingCategoryDetail getFoodMatchingCategory(Integer dataId);

    boolean saveOrUpdateFoodMatchingCategory(FoodMatchingCategoryDetail dto);

    boolean removeFoodMatchingCategory(Integer dataId);
}
